function Student(id, name, age, birthday, address) {
    this.id = id;
    this.name = name;
    this.age = age;
    this.birthday = birthday;
    this.address = address;
  }
  
  // 给属性赋值
  var student = new Student(1,"郭超",18,"2005-12-1","湖南");
  
  // 调用对象的方法
  student.show = function () {
    console.log(`id:${this.id}, name:${this.name}, age:${this.age}, birthday:${this.birthday}, address:${this.address}`);
  };
  student.show(); 

  
function ss(...s){
    for(let i=0;i<s.length-1;i++){
        for(let j=0;j<s.length-i-1;j++){
            if(s[j]<s[j+1]){
                let d=s[j];
                s[j]=s[j+1];
                s[j+1]=d;
            }
        }
    }
    console.log(s);
}
let s=[1,32,23,4,56,6,7,8,9,0];
ss(...s);
